<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  		<!-- 3.	页面发送请求 -->
		<!--<a href="test">SpringMVC</a>-->
		
		<a href="controller/car">坐汽车</a>
		
		<!-- 传id -->
		<a href="controller/bus?id=100">坐汽车：传id</a>
		
		<a href="controller/myId/9">显示我的 信息</a>
		
		<form action="controller/busname" method="post">
			<input type="hidden" name="names" value="素尼莫">
			<input type="submit" value="鲁个鸡">
		</form>
  </body>
</html>
